package com.springboot.lotterysystem.common.errorcode;

/**
 * Created with IntelliJ IDEA.
 * Description :
 * User: jiume
 * Date: 2025-04-19
 * Time: 16:08
 */
public interface GlobalErrorCodeConstants {
    // 对于一些controller、service层捕获不到的错误，可以在这里捕获

    // HTTP请求成功
    ErrorCode SUCCESS = new ErrorCode(200, "成功");

    // 服务器错误
    ErrorCode INTERNAL_SERVER_ERROR = new ErrorCode(500, "系统异常");

    // 未知异常
    ErrorCode UNKNOWN = new ErrorCode(999, "未知错误");


}
